Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build warnings about missing field initializer #370

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

rbuj
Copy link
Contributor

@rbuj rbuj commented Oct 28, 2021

gpm-main.c:175:9: warning: missing field 'short_name' initializer [-Wmissing-field-initializers]
                { NULL}
                      ^
--
gpm-prefs.c:74:9: warning: missing field 'short_name' initializer [-Wmissing-field-initializers]
                { NULL}
                      ^
--
gpm-statistics.c:1211:9: warning: missing field 'short_name' initializer [-Wmissing-field-initializers]
                { NULL}
                      ^
--
gpm-backlight-helper.c:174:9: warning: missing field 'short_name' initializer [-Wmissing-field-initializers]
                { NULL}
                      ^

Copy link
Member

@mbkma mbkma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@zhuyaliang zhuyaliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning fixed

@rbuj rbuj merged commit 59c6c78 into master Jan 1, 2022
@rbuj rbuj deleted the missing-field-initializers branch January 1, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants